// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Numerics;

namespace CommunityToolkit.WinUI.Animations;

/// <summary>
/// A <see cref="KeyFrame{TValue,TKeyFrame}"/> type for <see cref="Quaternion"/> animations.
/// </summary>
public sealed class QuaternionKeyFrame : KeyFrame<string, Quaternion>
{
    /// <inheritdoc/>
    protected override Quaternion GetParsedValue()
    {
        return Value!.ToQuaternion();
    }
}
